<?php /* Smarty version 2.6.18, created on 2010-04-27 21:59:42
         compiled from categories/categories_insert_form.html */ ?>
<form id="insert_categories_form" method="POST" action="<?php echo @APPLICATION_URL; ?>
categories/insert/">
	<table border="0" cellpadding="10px">
		<tr>
			<td>Name</td>
			<td><input id="cat_name" name="cat_name" size=30/></td>
		</tr>
		<tr>
			<td>Category Parent</td>
			<td>
			<select id="cat_cat_id" name="cat_cat_id">
					<option value="0">[optional]</option>
					<?php $_from = $this->_tpl_vars['categoriesList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['phantu']):
?>
						<option value="<?php echo $this->_tpl_vars['phantu']['cat_id']; ?>
"><?php echo $this->_tpl_vars['phantu']['cat_name']; ?>
</option>					
					<?php endforeach; endif; unset($_from); ?>
				</select>
			</td>
		</tr>
		<tr>
			<td colspan=2 align="left">
				<input type="submit" id="insert_category_btn" 
		name="insert_category_btn" value="Insert a Category"/>
			</td>
		</tr>
	</table>
</form>